/*
 * RequestData
 * 
 * Version information
 * 
 * Mar 27, 2006
 * 
 * Copyright (c) AmSoft Systems, 2006
 */
package net.amsoft.iservice.icontact.hibernate.dataObject;

import org.apache.log4j.Logger;

/**
 * @author rahul
 *  
 */
public class RequestData {

    private String sGlobalInumber;
    private String sProviderID;
    private String sProviderIDHash;
    private String sRelayState;
    private String sIDPMetaDataEP="";

    private static final Logger oLog = Logger.getLogger(RequestData.class);

    public String getGlobalInumber() {
        return sGlobalInumber;
    }
    public void setGlobalInumber(String globalInumber) {
        sGlobalInumber = globalInumber;
    }
    public String getProviderID() {
        return sProviderID;
    }
    public void setProviderID(String providerID) {
        sProviderID = providerID;
    }
    public String getProviderIDHash() {
        return sProviderIDHash;
    }
    public void setProviderIDHash(String providerIDHash) {
        sProviderIDHash = providerIDHash;
    }
    public String getRelayState() {
        return sRelayState;
    }
    public void setRelayState(String relayState) {
        sRelayState = relayState;
    }

    public String getIDPMetaDataEP() {
        return sIDPMetaDataEP;
    }
    public void setIDPMetaDataEP(String metaDataEP) {
        sIDPMetaDataEP = metaDataEP;
    }
    
    public void debug(String pattern) {
        if (pattern != null) {
            oLog.debug(pattern + "GIN=" + sGlobalInumber + ",PID="
                    + sProviderID + ",PIDH=" + sProviderIDHash + ",RS="
                    + sRelayState);
        } else {
            oLog.debug("RequestData:" + "GIN=" + sGlobalInumber + ",PID="
                    + sProviderID + ",PIDH=" + sProviderIDHash + ",RS="
                    + sRelayState);
        }
    }
}
